<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: xf
  Date: 2016/4/15
  Time: 20:50
  To change this template use File | Settings | File Templates.
--%>
<html>
<head>
    <title>Spring Form Tags</title>
</head>
<body>
<s:url value="/lskjda/asd" var="aurl"/>
<a href="${aurl}">撒拉嘿哟</a>
<hr/>
<form:form commandName="userDTO" method="post">
    <form:errors path="*" element="div"/>
    guid:<form:input path="guid"/><form:errors path="guid"/><br/>
    username:<form:input path="username"/><form:errors path="username"/><br/>
    password:<form:password path="password"/><form:errors path="password"/><br/>
    nickname:<form:input path="nickname"/><form:errors path="nickname"/><br/>
    <input type="submit" value="submit"/>
</form:form>
</body>
</html>
